MODULE_NAME="trusted_path"

echo 1 > /sys/block/sdb/device/delete

mod_load=$(lsmod | grep ${MODULE_NAME})
if [ ! -z "${mod_load}" ]
then
    rmmod "${MODULE_NAME}"
fi

dmesg -c > /dev/null 2>&1
insmod "${MODULE_NAME}.ko"
cd /root/LinuxKernel/utils
bash trace_graph.sh __scsi_add_device trace_driver.sh
